package com.kly.user.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.kly.user.db.dao.IssueFcRecordDao;
import com.kly.user.db.entity.IssueFcRecordEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: user
* Date: 2023-11-01
* Time: 14:48:08.824
*/

@Repository
public class IssueFcRecordDaoImpl extends AbstractBaseMapper<IssueFcRecordEntity> implements IssueFcRecordDao {

    @Override
    public IssueFcRecordEntity getNewRecordByUserCode(String userCode) {
        Map<String, Object> params = new HashMap<>();
        params.put("userCode", userCode);
        return getSqlSession().selectOne(this.getStatement("getNewRecordByUserCode"), params);
    }
}